<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
</script>

<template>
  <div class="app-container">
    <header>
      <div>
        <nav>
          <RouterLink to="/normal-map" class="nav-item">常规模式地图</RouterLink>
          <RouterLink to="/gl-map" class="nav-item">GL模式地图</RouterLink>
        </nav>
      </div>
    </header>

    <main class="main-content">
      <RouterView />
    </main>
  </div>
</template>

<style scoped>
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nav-item {
  margin-right: 10px;
}
</style>
